package com.itheima.day05_method;

public class Demo9_Test {
    public static void main(String[] args) {
        fire();
        fire("米",3);
    }

    private static void fire() {
        fire("岛国");
    }

    private static void fire(String country) {
        fire(country, 1);
    }

    private static void fire(String country, int i) {
        System.out.println("向" + country + "国，发" + i + "元");
    }
}
